package model

type cmcCoinModel struct {}

var CmcCoinModel = new(cmcCoinModel)

// 插入数据
func (m *cmcCoinModel) InsertMulti(datas []CmcCoin) (bool, error) {
	items, err := MainDB.Insert(datas)
	if err != nil {
		return false, err
	}
	return items > 0, nil
}
